Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[All] Add http_request_kwargs config option #578

Merged
merged 6 commits into from Apr 4, 2023

Conversation

manics
Copy link
Member

@manics manics commented Mar 12, 2023

Adds a new config property http_request_kwargs that allows additional keyword args to be passed by default to tornado.HTTPRequest.

This can for example be used to pass HTTP proxy configuration.

Closes #217
Closes #403

@manics manics marked this pull request as ready for review April 4, 2023 10:23
@manics
Copy link
Member Author

manics commented Apr 4, 2023

I was hoping to test this in a real environment with a proxy but haven't had time. However I have tested it with a pretend proxy (basically setting up a http listener, tell oauthneticator to use that as a proxy and verifying that a connection request is sent. It doesn't actually work beyond that since it's not a real proxy so the auth fails, but it shows the proxy is being used).

@consideRatio consideRatio changed the title Http request extra kwargs [All] Add http_request_kwargs config option Apr 4, 2023
@consideRatio consideRatio merged commit 66c3a34 into jupyterhub:main Apr 4, 2023
8 of 9 checks passed
@consideRatio
Copy link
Member

Nice!!! Super happy to see how this managed addressed multiple authenticators issues in one go!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants